<script setup lang="ts">
import { ref } from 'vue'

const title = ref('内容渲染指令')
const describe = ref(`<span class="text-red-500">包含其中的子标签</span>`)
</script>

<template>
  <h3>{{ title }}</h3>
  <p>{{ describe }}</p>

  <h3 v-text="title"></h3>
  <p v-text="describe"></p>

  <h3 v-html="title"></h3>
  <p v-html="describe"></p>
</template>
